package com.zhuss.enums;

import java.util.List;

public enum LogActionEnum implements BaseEnum {

	/******************* 基础管理  [1, 10000] ************************/
	菜单资源创建(1, "菜单资源创建", ""),
	菜单资源修改(2, "菜单资源修改", ""),
	菜单资源删除(3, "菜单资源删除", ""),
	菜单资源绑定(4, "菜单资源绑定", ""),

	权限点创建(101, "权限点创建", ""),
	权限点修改(102, "权限点修改", ""),
	权限点删除(103, "权限点删除", ""),
	权限点菜单资源绑定(104, "权限点菜单资源绑定", ""),
	权限点角色绑定(105, "权限点角色绑定", ""),

	权限点资源关系建立(181, "权限点资源关系建立", ""),
	权限点资源关系解除(182, "权限点资源关系解除", ""),


	角色创建(201, "角色创建", ""),
	角色修改(202, "角色修改", ""),
	角色删除(203, "角色删除", ""),
	角色启用(204, "角色启用", ""),
	角色停用(205, "角色停用", ""),
	角色权限点绑定(206, "角色权限点绑定", ""),
	角色用户绑定(207, "角色用户绑定", ""),
	用户登录信息放入缓存(208, "用户登录信息放入缓存", ""),
	用户登录信息删除缓存(209, "用户登录信息删除缓存", ""),

	角色权限关系建立(281, "角色权限关系建立", ""),
	角色权限关系解除(282, "角色权限关系解除", ""),


	用户创建(301, "用户创建", ""),
	用户修改(302, "用户修改", ""),
	用户删除(303, "用户删除", ""),
	用户启用(304, "用户启用", ""),
	用户停用(305, "用户停用", ""),
	用户角色绑定(306, "用户角色绑定", ""),
	用户区域列表获取(307, "用户区域列表获取", ""),
	重置密码(308, "重置密码", ""),
	用户部门绑定(309, "用户部门绑定", ""),
	用户绑定openId(310, "用户绑定openId", ""),
	用户解绑openId(311, "用户解绑openId", ""),
	用户创建绑定openId(312, "用户创建绑定openId", ""),
	用户删除绑定openId(313, "用户删除绑定openId", ""),
	用户请求init(314, "用户请求init", ""),

	用户角色关系建立(381, "用户角色关系建立", ""),
	用户角色关系解除(382, "用户角色关系解除", ""),

	用户部门关系建立(383, "用户部门关系建立", ""),
	用户部门关系解除(384, "用户部门关系解除", ""),

	权限校验(501, "权限校验", ""),


	登录(1001, "登录", ""),
	登出(1002, "登出", ""),
	修改密码(1003, "修改密码", ""),
	修改头像(1004, "修改头像", ""),
	app登录(1051, "app登录", ""),
	app登出(1052, "app登出", ""),

	定时任务(2001, "定时任务", ""),

	用户的权限(2001, "用户的权限", ""),
	用户的接口(2002, "用户的接口", ""),


	区域创建(3001, "区域创建", ""),
	区域修改(3002, "区域修改", ""),
	区域删除(3003, "区域删除", ""),


	公司创建(3101, "公司创建", ""),
	公司修改(3102, "公司修改", ""),
	公司删除(3103, "公司删除", ""),
	公司启用(3104, "公司启用", ""),
	公司停用(3105, "公司停用", ""),

	部门创建(3201, "部门创建", ""),
	部门修改(3202, "部门修改", ""),
	部门删除(3203, "部门删除", ""),

	配置创建(3301, "配置创建", ""),
	配置修改(3302, "配置修改", ""),
	配置删除(3303, "配置删除", ""),
	配置类型创建(3304, "配置类型创建", ""),
	配置类型修改(3305, "配置类型修改", ""),
	配置类型删除(3306, "配置类型删除", ""),
	配置类型顺序移动(3307, "配置类型顺序移动", ""),
	配置顺序移动(3308, "配置顺序移动", ""),

	文件上传(3401, "文件上传", ""),
	文件下载(3402, "文件下载", ""),
	文件删除(3403, "文件删除", ""),
	二维码上传(3404, "二维码上传", ""),

	文件创建(3501, "文件创建", ""),
	文件修改(3502, "文件修改", ""),
	文件数据删除(3503, "文件数据删除", ""),

	通知公告创建(3601, "通知公告创建", ""),
	通知公告修改(3602, "通知公告修改", ""),
	通知公告删除(3603, "通知公告删除", ""),
	通知公告启用(3604, "通知公告启用", ""),
	通知公告停用(3605, "通知公告停用", ""),

	意见反馈创建(3701, "意见反馈创建", ""),
	意见反馈修改(3702, "意见反馈修改", ""),
	意见反馈删除(3703, "意见反馈删除", ""),
	意见反馈启用(3704, "意见反馈启用", ""),
	意见反馈停用(3705, "意见反馈停用", ""),




	/******************* 车辆管理  [10001, 20000] ************************/
	车辆创建(10001, "车辆创建", ""),
	车辆修改(10002, "车辆修改", ""),
	车辆删除(10003, "车辆删除", ""),
	车辆启用(10004, "车辆启用", ""),
	车辆停用(10005, "车辆停用", ""),

	司机创建(10010, "司机创建", ""),
	司机修改(10011, "司机修改", ""),
	司机删除(10012, "司机删除", ""),
	司机启用(10013, "司机启用", ""),
	司机停用(10014, "司机停用", ""),


	/******************* 个人需求管理  [20001, 30000] ************************/
	个人需求创建(20001, "个人需求创建", ""),
	个人需求修改(20002, "个人需求修改", ""),
	个人需求删除(20003, "个人需求删除", ""),


	/******************* 商品  [30001, 40000] ************************/
	站点创建(30001, "站点创建", ""),
	站点修改(30002, "站点修改", ""),
	站点删除(30003, "站点删除", ""),
	站点启用(30004, "站点启用", ""),
	站点停用(30005, "站点停用", ""),

	线路创建(31001, "线路创建", ""),
	线路修改(31002, "线路修改", ""),
	线路删除(31003, "线路删除", ""),
	线路启用(31004, "线路启用", ""),
	线路停用(31005, "线路停用", ""),
	置为模板(31006, "置为模板", ""),

	线路站点创建(32001, "线路站点创建", ""),
	线路站点修改(32002, "线路站点修改", ""),
	线路站点删除(32003, "线路站点删除", ""),

	招募新线创建(33001, "招募新线创建", ""),
	招募新线修改(33002, "招募新线修改", ""),
	招募新线删除(33003, "招募新线删除", ""),
	招募新线启用(33004, "招募新线启用", ""),
	招募新线停用(33005, "招募新线停用", ""),

	线路策略创建(34001, "线路策略创建", ""),
	线路策略修改(34002, "线路策略修改", ""),
	线路策略删除(34003, "线路策略删除", ""),

	车次创建(35001, "车次创建", ""),
	车次修改(35002, "车次修改", ""),
	车次删除(35003, "车次删除", ""),
	车次启用(35004, "车次启用", ""),
	车次停用(35005, "车次停用", ""),
	车次售卖(35006, "车次售卖", ""),
	车次维护售卖(35007, "车次维护售卖", ""),
	车次维护售满(35008, "车次维护售满", ""),

	新线报名(36001, "新线报名", ""),
	取消报名(36002, "取消报名", ""),



	热门线路创建(37001, "热门线路创建", ""),
	热门线路删除(37002, "热门线路删除", ""),
	热门线路修改(37003, "热门线路修改", ""),
	热门线路启用(37004, "热门线路启用", ""),
	热门线路停用(37005, "热门线路停用", ""),


	热门线路站点绑定(38001, "热门线路站点绑定", ""),
	热门线路站点修改(38002, "热门线路站点修改", ""),
	热门线路站点删除(38003, "热门线路站点删除", ""),


	/******************* 意见建议  [40001, 50000] ************************/


	/******************* 订单管理  [50001, 60000] ************************/
	订单创建(50001, "订单创建", ""),
	订单修改(50002, "订单修改", ""),
	订单删除(50003, "订单删除", ""),
	取消订单(50004, "取消订单", ""),
	定时任务补偿过期(50005, "定时任务补偿过期", ""),
	支付单(50006, "支付单", ""),
	查询支付单(50007, "查询支付单", ""),
	回调支付单(50008, "回调支付单", ""),
	确认上车(50009, "确认上车", ""),
	同步订单状态查询(50010, "同步订单状态查询", ""),
	退款单创建(50011, "退款单", ""),
	同步订单列表状态查询(50012, "同步订单列表状态查询", ""),
	同步车票列表状态查询(50013, "同步车票列表状态查询", ""),
	回调退款单(50014, "回调退款单", ""),
	退款单同步(50015, "退款单同步", ""),


	/******************* 物业管理  [60001, 70000] ************************/

	;

	Integer key;

	String value;

	String tag;

	LogActionEnum(Integer key, String value, String tag) {
		this.key = key;
		this.value = value;
		this.tag = tag;
	}

	public Boolean sameKey(Integer key) {
		return this.key.equals(key);
	}

	public Integer key() {
		return key;
	}

	public String value() {
		return value;
	}

	public String tag() {
		return tag;
	}

	public String data() {
		return value;
	}

	@Override
	public List<Integer> removeIdList() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Boolean sameValue(String value) {
		return this.value.equals(value);
	}


}
